<template>
    <div class="overlay" v-show="isShow" >

    </div>
</template>
<script setup lang="ts">
import {ref} from 'vue';
let props = defineProps({
    isShow: {
        type: Boolean,
        default: false
    }
})
// const handleClick = () => {
//     props.isShow = false;
// }
</script>

<style lang="less" scoped>
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}
</style>